#include "iostream"

template<class Name, class Age = long >
class Person1 {
public:
    Name name;
    Age age;

    Person1(Name name, Age age) : name(name), age(age) {}
};

int main() {
    Person1<std::string, int> p1("孙悟空", 18);
}